package com.alks.entity.data.entity.imes;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class JiZhuanJinDuTree implements Serializable {
    private String title;
    private String companyId;
    private String stage;
    private String process;
    private String styleNo;
    private String styleColor;
    private int countNum;
    private int orderQty;
    private String type;
    private boolean leaf;
    @JsonIgnore
    private String prefix;
    private List<JiZhuanJinDuTree> children = new ArrayList();
    private static final long serialVersionUID = 1L;

    public JiZhuanJinDuTree() {
    }

    public String getText() {
        return this.title + "  (" + this.countNum + "单, " + this.orderQty + "双)";
    }

    public String getCompanyId() {
        return this.companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getStage() {
        return this.stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public String getProcess() {
        return this.process;
    }

    public void setProcess(String process) {
        this.process = process;
    }

    public String getStyleNo() {
        return this.styleNo;
    }

    public void setStyleNo(String styleNo) {
        this.styleNo = styleNo;
    }

    public String getStyleColor() {
        return this.styleColor;
    }

    public void setStyleColor(String styleColor) {
        this.styleColor = styleColor;
    }

    public int getCountNum() {
        return this.countNum;
    }

    public void setCountNum(int countNum) {
        this.countNum = countNum;
    }

    public int getOrderQty() {
        return this.orderQty;
    }

    public void setOrderQty(int orderQty) {
        this.orderQty = orderQty;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isLeaf() {
        return this.leaf;
    }

    public void setLeaf(boolean leaf) {
        this.leaf = leaf;
    }

    public String getPrefix() {
        return this.prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public List<JiZhuanJinDuTree> getChildren() {
        return this.children;
    }

    public void setChildren(List<JiZhuanJinDuTree> children) {
        this.children = children;
    }
}
